/* 首页样式 */

/* 头部样式 */
header{
    width: 100%;
    height: 65px;
    line-height: 65px;
    border-bottom: 1px solid #aec7ec;

    /* 脱离文档流设置 */
    position: absolute;
    z-index: 666;
}

header .logo{
    margin-top: 20px;
    margin-left: 30px;
}

header ul{
    top: 0px;
    /* 居中 */
    left: 50%;
    transform: translateX(-50%);
    font-size: 14px;
}

header ul li{
    float: left;
    margin: 0 20px;
}

/* 选中效果 */
header ul li.active a{
    border-bottom: 2px solid #ffffff;
    padding-bottom: 20px;
    font-size: 16px;
}

header .logoin{
    margin-right: 30px;
}

header .logoin a{
    font-size: 12px;
    padding: 6px 15px;
    box-sizing: border-box;
    border: 1px solid #aac6ef;
    border-radius: 15px;
}

header .logoin a.register{
    border: 1px solid #ed510a;
    background-color: #ed510a;
    margin-left: 10px;
}

/* banner */
.swiper {
    width: 100%;
    height: 680px;
}

.bg01{
    background:url(../img/banner1.png) center no-repeat;
}

.bg02{
    background:url(../img/banner2.png) center no-repeat;
}

.bg03{
    background:url(../img/banner3.png) center no-repeat;
}



/* serve */
#serve{
    margin-top: 100px;
}
#serve .main li{
    width: 240px;
    height: 280px;
    float: left;
    border: 1px solid #a8ccf9;
    margin: 0px 20px;
    transition: all 500ms;
    position: relative;
    top: 0px;
}

#serve .main li:last-of-type{
    margin-right: 56px;
}

#serve .main li:first-of-type{
    margin-left: 56px;
}

#serve .main li:hover{
    top: -10px;
    left: 0px;
    box-shadow: 0px 10px 3px 3px #daebff;
}

#serve .main li img{
    width: 240px;
    height: 168px;
}

#serve .main a{
    display: block;
    color: #1271ef;
}


/* classify */
#classify{
    background:#f8f9fb url(../img/more-api-bg.svg) no-repeat center;
    margin-top:100px;
    padding: 88px;
}

#classify .main li{
    width: 222px;
    height: 140px;
    text-align: center;
    box-shadow: 0 5px 5px 5px #daebff;
    position: relative;
    transition: all 500ms;
    top: 0px;
}

#classify .main li:hover{
    top: -10px;
    box-shadow: 0 10px 10px 10px #daebff;

}

#classify .main li div{
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
}

#classify .main li{
    float: left;
    margin-bottom: 18px;
    background-color: white;
}

#classify .main li:not(:nth-of-type(5),:nth-of-type(10)){
    margin-right: 18px;
}


/* master */
#master .main{
    padding: 0px 110px;
}

#master .main img{
    height: 556px;
}

#master .main ul li{
    height: 80px;
    background-color: #fbfbfd;
    padding: 20px 0 20px 18px;
    box-sizing: border-box;
    margin-bottom: 10px;
}

#master .main ul li .tittle img{
    width: 16px;
    height: 16px;
    vertical-align: middle;
    display: inline-block;
    margin-right: 5px;
}


/* company */
#company .main{
    height: 290px;
    overflow: hidden;
}

#company .main .content{
    display: none;
}

#company .main .content .left{
    margin-right:70px;
}
#company .main .content .yhlogo{
    height: 290px;
    width: 580px;
}

#company .main .content .right .icon{
    width: 50px;
}

#company .main .content .right .words{
    width: 555px;
    top: 75px;
    line-height: 24px;
}

#company .main .content .right .author{
    margin-top: 245px;
    margin-left: 449px;
}

#company .main .content .right .author span{
    display: inline-block;
    width: 12px;
    height: 4px;
    background-color:#1271ef ;
    margin-right: 5px;
    vertical-align: middle;
}

#company .bg{
    width: 100%;
    height: 270px;
    background-color:#f8f9fb;
    float: left;
    margin-top: -270px;
}


/* safe */

#safe .main li{
    width: 160px;
    height: 126px;
    text-align: center;
    float: left;
    box-sizing: border-box;
    margin: 0px 20px;
}

#safe .main li:nth-child(3),
#safe .main li:nth-child(4),
#safe .main li:nth-child(5){
    padding-top: 21px;
}

#safe .main li span{
    display: inline-block;
}

/* use */
#use{
    background: #1271ef url(../img/login-register-bg.svg);
    height: 240px;
    padding-top: 70px;
    box-sizing: border-box;
}

#use p{
    margin-bottom: 24px;
    font-size:38px;
}

#use button{
    width: 130px;
    height: 40px;
    background-color:#1271ef ;
    border: 1px solid #fff;
    color: white;
    cursor: pointer;
}


#toTop{
    width: 40px;
    height: 40px;
    box-sizing: border-box;
    border-radius: 40px;
    background-color: #a9a7a8;
    position: fixed;
    bottom: 150px;
    right: 100px;
    /* display: none; */
}

#toTop i{
    position: absolute;
    top: 4px;
    left: 4px;
    border-radius: 30px;
    display: inline-block;
    border: 1px solid #fff;
    width: 30px;
    line-height: 30px;
    text-align: center;
}